package com.zc.datastructure.structure.tree.binarytree;

import com.zc.datastructure.structure.AbstractNode;
import com.zc.datastructure.structure.AbstractNodeData;
import lombok.*;

/**
 * @author: zhuCan
 * @date: 2019-08-06 09:16
 * @description: 二叉树的 结点  ( 二叉链表形式储存 )
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BinaryNode<T extends AbstractNodeData> extends AbstractNode<T> {


  /**
   * 左子结点
   */
  private BinaryNode<T> leftChild;

  /**
   * 右子结点
   */
  private BinaryNode<T> rightChild;
}
